package fz.vrd.library.constant;

/**
 *  静态变量
 */
public final class Constant {

    public final static class Regex{

        // 数字
        public static final String NUM = "^[-\\+]?[\\d]*$";

        // 邮箱
        public static final String EMAIL = "^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$";

        // 手机号
        public static final String MOBILE = "^((13[0-9])|(14[0-9])|(15[0-9])|(17[0-9])|(18[0-9])|(19[0-9]))\\d{8}$";

        // 特殊字符
        public static final String STRING_TS = "[`~!@#$%^&*()+=|{}':;',\\[\\].<>/?~！@#￥%……&*（）——+|{}【】‘；：”“’。，、？]";

        // 字母和数字
        public static final String STRING_NUM = "[^a-zA-Z0-9]";
    }
}
